ShortPixel\Controller\FileSystemController S

Total Complexity 36
Dependencies 4
Dependents 1
Total lines 253
Lines of code 125
Logical lines of code 77
Comment lines 72
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
pathToUrl()
A
45 15 37
sortFiles()
S
58 4 16
getFilesRecursive()
S
61 3 13
getWPFileBase()
S
61 3 12
getBackupDirectory()
S
60 2 13
getWPAbsPath()
S
65 2 9
__construct()
S
80 1 3
getFile()
S
80 1 3
getAttachedFile()
S
72 1 5
getOriginalPath()
S
72 1 5
getDirectory()
S
80 1 3
getWPUploadBase()
S
74 1 4
createBackUpFolder()
S
91 1 2